//
// Created by Kan Zheng on 23/04/2017.
//

#ifndef ZLANG2_LEXER_H
#define ZLANG2_LEXER_H


#include "../token/Token.h"

class Lexer {
public:
    bool readNext;
    char current;
    Token* tokenize(FILE* fp);
    void init();

private:
    bool isKeyword(string s);
    char scan(FILE* fp);
};


#endif //ZLANG2_LEXER_H
